package com.neusoft.liduan.d0914;

public class Circle extends Shape{

	public Circle(double r) {
//		super(0, 0, r);
		super(r);
	}
	
	@Override
	public double area() {
		return Math.PI * r * r;
	}

	@Override
	public double perimeter() {
		return 2 * Math.PI * r;
	}

}
